package com.woniuxy.third.mapper;

import com.woniuxy.third.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StudentMapper {
    Student findStudentById(int id);
    //添加
    boolean addStudent(Student student);
    //修改
    boolean updateStudent(Student student);
    //修改头像
    void imageUpload(@Param("image") String image, @Param("id") int id);
}
